crypto/tls.cipherSuite.cipher (field)
6 uses
crypto/tls (current package)
cipher_suites.go#L146: cipher func(key, iv []byte, isRead bool) any
handshake_client.go#L851: if hs.suite.cipher != nil {
handshake_client.go#L852: clientCipher = hs.suite.cipher(clientKey, clientIV, false /* not for reading */)
handshake_client.go#L854: serverCipher = hs.suite.cipher(serverKey, serverIV, true /* for reading */)
handshake_server.go#L789: clientCipher = hs.suite.cipher(clientKey, clientIV, true /* for reading */)
handshake_server.go#L791: serverCipher = hs.suite.cipher(serverKey, serverIV, false /* not for reading */)